﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:WpfViewers="clr-namespace:Microsoft.Samples.Kinect.WpfViewers;assembly=Microsoft.Samples.Kinect.WpfViewers" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="TSL.TranslateWindow"
        Title="Thai Sign Language : Translate Module" Height="607" Width="1024" Loaded="Window_Loaded">
    <Grid>
    	<Border Margin="10,10,378,93" Background="#FF2D9FD1" CornerRadius="10">
    		<Grid>
    			<WpfViewers:KinectColorViewer Height="465" Width="620" Kinect="{Binding Kinect, ElementName=kinectSensorChooser1}" Padding="5" />
    			<WpfViewers:KinectSensorChooser x:Name="kinectSensorChooser1"  HorizontalAlignment="Left" Margin="139,132,0,0" VerticalAlignment="Top" d:LayoutOverrides="Width" Kinect="{Binding}" />
                <WpfViewers:KinectSkeletonViewer Height="465" Margin="-2,10,2,-9" Width="620" Kinect="{Binding Kinect, ElementName=kinectSensorChooser1}"/>
    		</Grid>
    	</Border>
    	<Border HorizontalAlignment="Left" Height="78" Margin="10,480,0,0" VerticalAlignment="Top" Width="620" Background="#FF510E78" CornerRadius="10" >
    		<TextBlock x:Name="NoticeText" TextWrapping="Wrap" FontSize="26.667" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White"/>
    	</Border>
    	<Border HorizontalAlignment="Left" Height="419" Margin="635,56,0,0" VerticalAlignment="Top" Width="363" Background="#FF510E78" CornerRadius="10">
    		<TextBox x:Name="LogBox" TextWrapping="Wrap" Margin="10,30,10,10" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible" FontSize="13.333"/>
    	</Border>
    	<Label Content="Log :" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="640,55,0,0" Foreground="White" FontSize="16"/>
    	<Button Content="Back" HorizontalAlignment="Left" Height="78" Margin="640,480,0,0" Style="{DynamicResource MyButton}" VerticalAlignment="Top" Width="358" FontSize="32" Foreground="White" Background="#FF2D9FD1" BorderBrush="#FF2D9FD1" Click="Button_Click_1"/>
    	<TextBlock x:Name="overlayText" HorizontalAlignment="Center" Margin="11.5,432.436,380.5,93" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="26.667" IsEnabled="False" Foreground="White" Background="#33000000" ScrollViewer.VerticalScrollBarVisibility="Disabled" RenderTransformOrigin="0.5,0.5" Width="616"/>
    	<Button x:Name="loadNetwork" Content="Load Network" HorizontalAlignment="Left" Height="38" Margin="637,13,0,0" Style="{DynamicResource MyButton}" VerticalAlignment="Top" Width="361" FontSize="16" Foreground="White" Background="#FF2D9FD1" BorderBrush="#FF2D9FD1" d:LayoutOverrides="VerticalAlignment" Click="loadNetwork_Click" />
    </Grid>
</Window>
